package com.keepers.repair.activity

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.support.v7.widget.Toolbar
import com.keepers.repair.R
import org.jetbrains.anko.find

class SettingsActivity : AppCompatActivity() {

    private lateinit var toolbar: Toolbar

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_settings)

        this.title = "设置"

        this.toolbar = find(R.id.settings_toolbar)

        this.setSupportActionBar(toolbar)
        this.toolbar.setNavigationOnClickListener {  _ ->
            this@SettingsActivity.finish()
        }
    }
}
